<template>
  <el-pagination
    background
    layout="prev, pager, next"
    v-model:currentPage="pageInfo.pageIndex"
    :total="pageInfo.count"
    :active="active"
  >
  </el-pagination>
</template>


<script>
  import { reactive, watch, onMounted, nextTick } from 'vue'
  import { ElPagination } from 'element-plus'
  import { createDataList, createModel, lifecycle } from '/nf-ui-core'
  import { logTime } from '@naturefw/nf-tool'

</script>

<script setup>
  lifecycle('分页', true)
 
  const props = defineProps({
    pageInfo: Object,
    active: Object
  })

</script>